/**
 * 错误状态码
 */
type errorCode = "SUCCESS" | "ERROR" | "E500" | "NOLOGIN" | "E404";

interface JsonReturnResult {
  /**
   * 0:成功,1000:失败,500:系统错误,403:未登陆,token校验失败,404:接口地址错误
   */
  errorCode: errorCode,
  /**
   * 返回提示信息
   */
  errorMessage: string,
  /**
   * 返回数据
   */
  returnData: object
}

/**
 * 用户信息
 */
interface UserInfo {
  userName: string;
  passWord: string

}


interface IPage {
  current: number,
  hitCount: boolean,
  pages: number,
  searchCount: boolean,
  total: number,
  size: number,
  records: Array<any>

}

interface SysDic {
  dicKeyCode: string,
  dicKeyValue: string,
  dicType: number,
  id: string
}
